#ifndef MESHFILE_H
#define MESHFILE_H

#include <cstdlib>
#include <fstream>
#include <GL/gl.h>
#include "IFile.h"

class OffFile: public IFile
{
private :
    float * _vertices;
    GLuint * _faces;
			
    int _sizeV;
    int _nbfaces;

			
public :
		
    OffFile(const char *s);

    void load (const char *s);
    float * getVertices();
    long long int getNbVertices();
    GLuint * getFaces();
    long long int getNbFaces();

    float * getTex()
    {return NULL;}
    GLuint getTexID()
    {return 0;}
	
    ~OffFile();
};


#endif
